
<template>
  <div class="user">
    <van-nav-bar title="账户信息" left-arrow @click-left="onClickLeft" />
    <div>
      <div class="list" v-for="(v,i) in info_list" :key="i">
        <div class="listLeft">
          <p class="word">{{ v.word }}</p>
        </div>
        <div class="listRight">
          <p class="remark">{{ v.remark }}</p>
          <p class="glt">></p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'accountInfo',
  data(){
    return{
      info_list:[
        {id:1,path:'/index',word:'手机号',remark:'18209375240'},
        {id:2,path:'/index',word:'登录名',remark:'ume86105861'},
        {id:3,path:'/index',word:'修改密码',remark:''},
        {id:4,path:'/index',word:'授权管理',remark:''},
        {id:5,path:'/index',word:'新浪微博',remark:'未绑定'},
        {id:6,path:'/index',word:'QQ',remark:'未绑定'},
        {id:7,path:'/index',word:'微信',remark:'已绑定'},
        {id:8,path:'/index',word:'支付宝',remark:'未绑定'},
      ]
    }
  },
  created(){

  },
  methods:{
    onClickLeft(){
      this.$router.go(-1)
    }
  }
} 
</script>

<style scoped>
.user{
    width: 350px;
    margin-left: 12px;
}
.list{
  width: 330px;
  height: 45px;
  padding: 0 10px;
  line-height: 45px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1PX solid #d2d2d2;
  border-radius: 10px;
  margin-bottom: 5px;
}
.list .word{
  font-size: 15px;
  margin: 0;
}
.list .remark{
  font-size: 12px;
  margin: 0;
  color: #a2a2a2;
}
.listLeft,.listRight{
  display: flex;
}
.glt{
  color: #a2a2a2;
  margin: 0 0 0 10px;
}
</style>
